﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GatheringList.aspx.cs" Inherits="FinanceCenter_GatheringList" %>

<%@ Register TagPrefix="ShoveWebUI" Namespace="Shove.Web.UI" Assembly="Shove.Web.UI.2 For.NET 2.0" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>山顶软件 -会员中心</title>
    <link href="../Style/css.css" rel="stylesheet" type="text/css" />
    <link href="../Style/main.css" rel="stylesheet" type="text/css" />

    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
            <tr>
                <td height="60" bgcolor="#f7f7f7">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="11%" align="center">
                                <img src="../images/clearing/note_pic2.jpg" width="57" height="58" />
                            </td>
                            <td class="orange14">
                                <asp:Label ID="lbUserName" runat="server"></asp:Label>,欢迎您进入管理后台！
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    <div>
        &nbsp;</div>
    <div id="Div1">
        <table width="100%" border="0" cellspacing="0" cellpadding="1" style="padding-top: 3px;">
            <tr>
                <td align="right" class="black12">
                    <input id="tbStartTime" name="tbStartTime" runat="server" onclick="WdatePicker()" />
                </td>
                <td align="center">
                    至
                </td>
                <td align="left" class="black12">
                    <input id="tbEndTime" name="tbEndTime" runat="server" onclick="WdatePicker()" />
                </td>
                <td width="40%" class="black12">
                    <asp:ImageButton ID="ibSelect" runat="server" ImageUrl="../images/clearing/cw_button_1.jpg"
                        OnClick="ibSelect_Click" />
                    <a href="DownloadGatheringList.aspx?StartTime=<%=tbStartTime.Value%>&EndTime=<%=tbEndTime.Value%>"
                        target="_blank">
                        <img src="../images/clearing/cw_button_Download.jpg" border="0" /></a>
                    <asp:ImageButton ID="ibPrint" runat="server" ImageUrl="../images/clearing/cw_button_2.jpg"
                        OnClick="ibPrint_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="3" style="height: 5px;">
                </td>
            </tr>
        </table>
        <asp:DataGrid ID="g" runat="server" BackColor="#6CA4E4" CellPadding="5" Width="100%"
            CellSpacing="1" BorderWidth="0px" AllowSorting="True" AutoGenerateColumns="False"
            AllowPaging="True" CssClass="gStyle" OnItemDataBound="g_ItemDataBound">
            <FooterStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
            <SelectedItemStyle HorizontalAlign="Center" Font-Bold="True" ForeColor="White"></SelectedItemStyle>
            <HeaderStyle HorizontalAlign="Center" ForeColor="Navy" VerticalAlign="Middle" CssClass="gHeader">
            </HeaderStyle>
            <ItemStyle CssClass="gItem" BackColor="White" />
            <Columns>
                <asp:BoundColumn DataField="sequenceNumber" HeaderText="序号"></asp:BoundColumn>
                <asp:BoundColumn DataField="Name" HeaderText="会员ID"></asp:BoundColumn>
                <asp:BoundColumn DataField="RealityName" HeaderText="会员姓名"></asp:BoundColumn>
                <asp:BoundColumn DataField="Money" HeaderText="入款金额"></asp:BoundColumn>
                <asp:BoundColumn DataField="DateTime" HeaderText="入款时间"></asp:BoundColumn>
                <asp:BoundColumn DataField="PayNumber" HeaderText="入款方式"></asp:BoundColumn>
                <asp:BoundColumn DataField="OperatorName" HeaderText="操作员"></asp:BoundColumn>
                <asp:BoundColumn DataField="memo" HeaderText="备注"></asp:BoundColumn>
            </Columns>
        </asp:DataGrid>
        <table width="98%" border="0" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC">
            <tr>
                <td colspan="2" bgcolor="#F7F7F7" class="black14" align="center">
                    总计：共有<asp:Label ID="lbUserCount" runat="server"></asp:Label>笔入款记录
                </td>
                <td colspan="2" bgcolor="#F7F7F7" class="black14" align="center">
                    总计：<asp:Label ID="lbBuyCount" runat="server"></asp:Label>元
                </td>
            </tr>
        </table>
        <pagerstyle visible="False" horizontalalign="Center" forecolor="#330099" backcolor="#FFFFCC">
                        </pagerstyle>
        </asp:DataGrid>
        <ShoveWebUI:ShoveGridPager ID="gPager" BorderWidth="0" CssClass="gStyle" BorderStyle="None"
            runat="server" Width="100%" ShowSelectColumn="False" DataGrid="g" OnPageWillChange="gPager_PageWillChange"
            OnSortBefore="gPager_SortBefore" AlternatingRowColor="White" HotColor="White"
            GuiseColor="False" ClientNavigation="true" PageSize="10" />
    </div>
    </form>
</body>
</html>
